//
//  PlaceOrderSubDataModel.m
//  HAODE
//
//  Created by LiYinDi on 16/3/22.
//  Copyright © 2016年 reabam.com. All rights reserved.
//

#import "PlaceOrderSubDataModel.h"

@implementation PlaceOrderSubDataModel
+(instancetype)dataModelWithDict:(NSDictionary *)dict
{
    PlaceOrderSubDataModel *dataModel=[[self alloc] init];
    dataModel.imageUrlFull=dict[@"imageUrlFull"];
    dataModel.itemCode=dict[@"itemCode"];
    dataModel.itemId=dict[@"itemId"];
    dataModel.itemName=dict[@"itemName"];
    dataModel.itemType=dict[@"itemType"];
    dataModel.maxPrice=dict[@"maxPrice"];
    dataModel.minPrice=dict[@"minPrice"];
    dataModel.salePrice=dict[@"salePrice"];
    dataModel.invQty=dict[@"invQty"];
    dataModel.specType=dict[@"specType"];
    dataModel.itemType=dict[@"itemType"];
    return dataModel;
}
-(void)setSpecCount:(NSString *)specCount
{
    _specCount=specCount?specCount:0;
}
@end
